<!DOCTYPE html >
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>企搜</title>
    <link rel="stylesheet" type="text/css" href="<?php echo base_url()."themes/css/search.css"?>" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url()."themes/css/bootstrap.css"?>" />
	</head>
<body>
	<input type="hidden" id="baseUrl" value="<?php echo base_url();?>"/>
	<section class="list_top_header">
		<img alt="logo" src="<?php echo base_url()?>themes/img/logo.png">
		<P class="sch_way">
			<a>[切换地区]</a>
			<a>全国</a>
		</P>
	</section>
	<div class="search_cho">
		<div class="sch_query">
			<div class="q_list">
				<p class="q_title"><?php echo $search_cgy;?></p>
				<ul class="q_hidden unstyled">
					<li>公司</li>
					<li>产品</li>
					<li>地址</li>
				</ul>
			</div>
			<div class="input-append q_search">
				<input type="text" value="<?php echo $_GET['keywords']?>" id="keywords" class="sch_text1"/>
				<input type="hidden" value="1" id="cd"/>
				<input type="hidden" value="<?php echo $reg_capital?>" id="rc"/>
				<button type="button" class="btn" onclick="query()"><i class="icon-search"></i></button>
			</div>
				
		</div>
		<div class="cap_condition">
			<span class="current"><a href="<?php echo $search_url?>">注册资金不限</a></span>
			<span><a href="<?php echo $search_url.'&regCapital=100'?>">百万以上</a></span>
			<span><a href="<?php echo $search_url.'&regCapital=1000'?>">千万以上</a></span>
			<span><a href="<?php echo $search_url.'&regCapital=10000'?>">一亿以上</a></span>
		</div>
	</div>
	<?php if (! $company_lists) echo "没有数据"?>
<?php foreach ($company_lists as $company_list):?>
	<section class="company_list">
		<article>
			<h1 class="company_name"><a href="<?php echo base_url().'search_detail?cId='.$company_list['company_id'] ?>" target="blank"><?php echo $i++.'   '.$company_list['company_name']?></a></h1>
			<?php if ($company_list['legal_person']) :?>
			<p><b>法人：</b><?php echo $company_list['legal_person']?></p>
			<?php endif;?>
			<?php if ($company_list['registered_capital']) :?>
			<p><b>注册资金：</b><?php echo $company_list['registered_capital']?>（万元）</p>
			<?php endif;?>
			<?php if ($company_list['contact_person']) :?>
			<p><b>联系人：</b><?php echo $company_list['contact_person']?></p>
			<?php endif;?>
			<?php if ($company_list['tel']) :?>
			<p><b>电话：</b><?php echo $company_list['tel']?></p>
			<?php endif;?>
			<?php if ($company_list['call_phone']) :?>
			<p><b>手机：</b><?php echo $company_list['call_phone']?></p>
			<?php endif;?>
			<?php if ($company_list['email']) :?>
			<p><b>邮箱：</b><?php echo $company_list['email']?></p>
			<?php endif;?>
			<?php if ($company_list['company_website']) :?>
			<p><b>网址：</b><a href="<?php echo $company_list['company_website']?>"><?php echo $company_list['company_website']?></a></p>
			<?php endif;?>
			<?php if ($company_list['business_scope']) :?>
			<p><b>产品：</b><?php echo $company_list['business_scope']?></p>
			<?php endif;?>
			<?php if ($company_list['address']) :?>
			<p><b>地址：</b><?php echo $company_list['address']?></p>
			<?php endif;?>
		</article>
	</section>
	<?php endforeach;?>
	<?php echo $this->pagination->create_links();?>
<script type="text/javascript" src="<?php echo base_url()?>themes/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>themes/js/search_list.js"></script>
</body>
</html>
